﻿<!DOCTYPE html >
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>My JSP 'filter_result.jsp' starting page</title>
 	  <link rel="stylesheet"
			href="../../../css/table.css" type="text/css">
		<link rel="stylesheet"
			href="../../../css/cwcalendar.css"
			type="text/css">
		<script type="text/javascript"
			src="../../../javascript/comm/comm.js">
	
</script>
		<script type="text/javascript"
			src="../../../javascript/comm/list.js">
	
</script>
		<script type="text/javascript"
			src="../../../javascript/calendar-ch.js">
	
</script>
		<script type="text/javascript"
			src="../../../javascript/jquery-1.7.2.js">
	
</script>
		<script type="text/javascript"
			src="../../../javascript/locate.js">
	
</script>
		<script type="text/javascript"
			src="../../../javascript/select.js">
	
</script>


		<!--分页-->
		<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"></link>
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/bootstrap.min.js"></script>
     </head>

	<body>
	<form method="post" name="fm" action="/HR_Fist/recruit/recruitAction!list">
		<input type="hidden" name="utilBean.currPage" id="page"/>
		<table width="100%">
			<tr>
				<td>
					<font color="black">您正在做的业务是：人力资源--招聘管理--录用管理--录用查询  </font>
				</td>
			</tr>
		</table>
			<table width="100%" border="1" cellpadding=0 cellspacing=1
				bordercolorlight=#848284 bordercolordark=#eeeeee
				class="TABLE_STYLE1">
				<tr class="TR_STYLE1">
					<td class="TD_STYLE1">
						姓名
					</td>
					<td class="TD_STYLE1">
						性别
					</td>
					<td class="TD_STYLE1">
						年龄
					</td>
					<td class="TD_STYLE1">
						职位类别
					</td>
					<td class="TD_STYLE1">
						职位名称
					</td>
					<td class="TD_STYLE1">
						毕业院校
					</td>
					<td class="TD_STYLE1">
						学历专业
					</td>
					<td class="TD_STYLE1">
						查询
					</td>
				</tr>

				<div th:each="f:${ler}">
					<tr class="TR_STYLE1">
						<td class="TD_STYLE2" th:text="${#maps.containsKey(f,'human_name')?f.human_name:''}">

						</td>
						<td class="TD_STYLE2" th:text="${#maps.containsKey(f,'human_sex')?f.human_sex:''}" >

						</td>
						<td class="TD_STYLE2" th:text="${#maps.containsKey(f,'human_age')?f.human_age:''}">

						</td>
						<td class="TD_STYLE2" th:text="${#maps.containsKey(f,'major_kind_name')?f.major_kind_name:''}">

						</td>
						<td class="TD_STYLE2" th:text="${#maps.containsKey(f,'major_name')?f.major_name:''}" >

						</td>
						<td class="TD_STYLE2" th:text="${#maps.containsKey(f,'human_college')?f.human_college:''}">

						</td>
						<td class="TD_STYLE2" th:text="${#maps.containsKey(f,'human_educated_major')?f.human_educated_major:''}" >

						</td>
						<td class="TD_STYLE2">

							<a th:href="|listkzq_details?id=${f.res_id}|">查询</a>
						</td>
					</tr>
				</div>
			</table>
		<!--显示分页信息-->
		<div class="row">
			<!--文字信息-->
			<div class="col-md-6">
				当前第 <input name="startPage" th:value="${pageInfo.pageNum }"  style="width: 20px"/>/[[${pageInfo.pages}]]页.一共 [[${pageInfo.total}]] 条记录
			</div>
			<!--点击分页-->
			<div class="col-md-6">
				<nav aria-label="Page navigation">
					<ul class="pagination">
						<li><a href="javascript:f1.startPage.value=1;f1.submit()">首页</a></li>
						<!--上一页-->
						<li>
							<a th:if="${pageInfo.hasPreviousPage}" href="javascript:f1.startPage.value=f1.startPage.value-1;f1.submit()" aria-label="Previous">
								<span aria-hidden="true">«</span>
							</a>
						</li>
						<!--循环遍历连续显示的页面，若是当前页就高亮显示，并且没有链接-->
						<li th:each="page_num:${pageInfo.navigatepageNums}"   th:class="${page_num == pageInfo.pageNum?'active':''}" >
							<a href="#" th:text="${page_num}" th:if="${page_num == pageInfo.pageNum}"> </a>
							<a th:if="${page_num != pageInfo.pageNum}" th:href="|javascript:f1.startPage.value=${page_num};f1.submit()|" th:text="${page_num}"></a>
						</li>
						<!--下一页-->
						<li>
							<a th:if="${pageInfo.hasNextPage}" href="javascript:f1.startPage.value=f1.startPage.value-0+1;f1.submit()"
							   aria-label="Next">
								<span aria-hidden="true">»</span>
							</a>
						</li>
						<li><a th:href="|javascript:f1.startPage.value=${pageInfo.pages};f1.submit()|">尾页</a></li>
					</ul>
				</nav>
			</div>
		</div>
		</form>
		<script type="text/javascript">
		function up(currPage,row){  
		if(currPage<=0){
		document.getElementById("page").value = row;
		}else{
		document.getElementById("page").value =currPage; 
		}
		 document.fm.submit();
		}
		function down(currPage,row){ 
		if(currPage>=row){
		document.getElementById("page").value = row;
		}else{
		document.getElementById("page").value =currPage; 
		}
		 document.fm.submit();
		}
		function tj(row){
	     document.getElementById("page").value = document.getElementById("currPage").value;
	     if(document.getElementById("currPage").value>row){
	     alert("最大页数为"+row+",当前为第"+row+"页 ");
	     return false;
	     }
	     document.fm.submit();
	 	}
		</script>
	</body>
</html>

